Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / SolidColorBrush Class / Create Method / Create(RenderTarget,ColorF,Nullable<BrushProperties>) Method
an instance of RenderTarget
The red, green, blue, and alpha values of the brush's color.
The base opacity of the brush.

In This Topic
    Create(RenderTarget,ColorF,Nullable<BrushProperties>) Method
    In This Topic
    Creates a new SolidColorBrush that has the specified color and opacity.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal color As ColorF, _
       ByVal brushProperties As System.Nullable(Of BrushProperties) _
    ) As SolidColorBrush
    public static SolidColorBrush Create( 
       RenderTarget renderTarget,
       ColorF color,
       System.Nullable<BrushProperties> brushProperties
    )

    Parameters

    renderTarget
    an instance of RenderTarget
    color
    The red, green, blue, and alpha values of the brush's color.
    brushProperties
    The base opacity of the brush.
    See Also